Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Lights


Q3Light_SetState

You can use the Q3Light_SetState function to set the state of a light.

TQ3Status Q3Light_SetState (
TQ3LightObject light, 
TQ3Boolean isOn);
light
A light object.
isOn
The desired state of the specified light.
DESCRIPTION
The Q3Light_SetState function sets the state of the light specified by the light parameter to the value specified by the isOn parameter. If isOn is set to kQ3True, the light is made active; if isOn is set to kQ3False, the light is made inactive.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996